//
//  TitleCollectionViewCell.m
//  ITHome
//
//  Created by lanou3g on 15/7/13.
//  Copyright (c) 2015年 YAX. All rights reserved.
//

#import "TitleCollectionViewCell.h"

@implementation TitleCollectionViewCell
- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        self.nameLabel = [[UILabel alloc]initWithFrame:CGRectMake(0, 0, 70, 30)];
        self.nameLabel.textAlignment = NSTextAlignmentCenter;
        self.nameLabel.font = [UIFont systemFontOfSize:13];
        self.lineView = [[UIView alloc]initWithFrame:CGRectMake(0, 28, 70, 2)];
        [self.contentView addSubview:self.lineView];
        self.lineView.backgroundColor = [UIColor RGBColor:71 green:128 blue:208 alpha:1];
        [self.contentView addSubview:_nameLabel];
    }
    return self;
}


@end
